package com.littledoctor.clinicassistant.module.item.consumable.entity;/*
 * Welcome to use the TableGo Tools.
 * 
 * http://www.tablego.cn
 * 
 * http://vipbooks.iteye.com
 * http://blog.csdn.net/vipbooks
 * http://www.cnblogs.com/vipbooks
 * 
 * Author: bianj
 * Email: tablego@qq.com
 * Version: 6.6.6
 */
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * 其他耗材表(item_consumable)
 * 
 * @author 周俊林
 * @version 1.0.0 2020-05-04
 */
@Entity
@Table(name = "item_consumable")
public class ConsumableEntity implements java.io.Serializable {
    /** 版本号 */
    private static final long serialVersionUID = -8561384843001944776L;

    /* This code was generated by TableGo tools, mark 1 begin. */

    /** 品目ID */
    @Id
    @GeneratedValue(strategy = GenerationType.AUTO)
    @Column(name = "item_id", unique = true, nullable = false, length = 20)
    private Long itemId;

    /** 耗材名称 */
    @Column(name = "item_name", nullable = false, length = 50)
    private String itemName;

    /** 简拼 */
    @Column(name = "abbr_pinyin", nullable = true, length = 50)
    private String abbrPinyin;

    /** 全拼 */
    @Column(name = "full_pinyin", nullable = true, length = 500)
    private String fullPinyin;

    /** 规格 */
    @Column(name = "specifications", nullable = true, length = 100)
    private String specifications;

    /** 品牌厂家 */
    @Column(name = "producer", nullable = true, length = 100)
    private String producer;

    /** 进货包装 */
    @Column(name = "pur_unit", nullable = true, length = 10)
    private String purUnit;

    /** 进货包装 */
    @Column(name = "pur_unit_name", nullable = true, length = 10)
    private String purUnitName;

    /* This code was generated by TableGo tools, mark 1 end. */

    /* This code was generated by TableGo tools, mark 2 begin. */

    /**
     * 获取品目ID
     * 
     * @return 品目ID
     */
    public Long getItemId() {
        return this.itemId;
    }

    /**
     * 设置品目ID
     * 
     * @param itemId
     *          品目ID
     */
    public void setItemId(Long itemId) {
        this.itemId = itemId;
    }

    /**
     * 获取耗材名称
     * 
     * @return 耗材名称
     */
    public String getItemName() {
        return this.itemName;
    }

    /**
     * 设置耗材名称
     * 
     * @param itemName
     *          耗材名称
     */
    public void setItemName(String itemName) {
        this.itemName = itemName;
    }

    /**
     * 获取简拼
     * 
     * @return 简拼
     */
    public String getAbbrPinyin() {
        return this.abbrPinyin;
    }

    /**
     * 设置简拼
     * 
     * @param abbrPinyin
     *          简拼
     */
    public void setAbbrPinyin(String abbrPinyin) {
        this.abbrPinyin = abbrPinyin;
    }

    /**
     * 获取全拼
     * 
     * @return 全拼
     */
    public String getFullPinyin() {
        return this.fullPinyin;
    }

    /**
     * 设置全拼
     * 
     * @param fullPinyin
     *          全拼
     */
    public void setFullPinyin(String fullPinyin) {
        this.fullPinyin = fullPinyin;
    }

    /**
     * 获取规格
     * 
     * @return 规格
     */
    public String getSpecifications() {
        return this.specifications;
    }

    /**
     * 设置规格
     * 
     * @param specifications
     *          规格
     */
    public void setSpecifications(String specifications) {
        this.specifications = specifications;
    }

    /**
     * 获取品牌厂家
     * 
     * @return 品牌厂家
     */
    public String getProducer() {
        return this.producer;
    }

    /**
     * 设置品牌厂家
     * 
     * @param producer
     *          品牌厂家
     */
    public void setProducer(String producer) {
        this.producer = producer;
    }

    public String getPurUnit() {
        return purUnit;
    }

    public void setPurUnit(String purUnit) {
        this.purUnit = purUnit;
    }

    public String getPurUnitName() {
        return purUnitName;
    }

    public void setPurUnitName(String purUnitName) {
        this.purUnitName = purUnitName;
    }
    /* This code was generated by TableGo tools, mark 2 end. */
}